package org.luxor.commons.excel.component.data;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

/**
 * 填写须知
 *
 * @author Mr.Yan
 **/
@HeadFontStyle(fontHeightInPoints = 11, color = 0)
@HeadStyle(horizontalAlignment = HorizontalAlignment.LEFT, fillForegroundColor = 43)
public class NoticeSheet {

    @ColumnWidth(180)
    @ExcelProperty(value = "填写须知：")
    private String item;

    public NoticeSheet(String item) {
        this.item = item;
    }

    public String getItem() {
        return item;
    }

    public void setItem(String item) {
        this.item = item;
    }

    @Override
    public String toString() {
        return "NoticeSheet{" +
                "item='" + item + '\'' +
                '}';
    }
}
